#!/bin/bash

for app in $*
do
app=`echo $app`
pid=`echo | adb shell ps | grep $app | cut -c11-16`


if [ -n "$pid" ]
then
echo killing $app, pid=$pid
adb shell kill $pid
else
echo $app not found
fi

done

